package com.zengde.ai_sandbox.context;

import org.springframework.stereotype.Component;

@Component
public class OrderContextHolder {

   private static ThreadLocal<OrderContext> orderContextTL = new ThreadLocal<OrderContext> ();

    public static OrderContext getOrderContextTL() {
        return orderContextTL.get();
    }

    public static void setOrderContextTL(OrderContext OrderContext) {
        orderContextTL.set(OrderContext);
    }

}
